package com.chinasi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chinasi.dao.ResTotalDao;
import com.chinasi.model.ResTotal;
import com.chinasi.service.ResTotalService;

@Service
public class ResTotalServiceImpl implements ResTotalService {

	/**
	 * ResTotalDAO
	 */
	@Autowired
	private ResTotalDao resTotalDao;

	@Override
	public List<ResTotal> findByOrgId(String id) {
		ResTotal searchBean = new ResTotal();
		searchBean.setOrgId(id);
		return resTotalDao.findByCondition(searchBean);
	}
	
}
